<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<TITLE>
ParentNode (Soy Complete)
</TITLE>


<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="ParentNode (Soy Complete)";
    }
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">
<HR>


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/google/template/soy/basetree/NodeVisitor.html" title="interface in com.google.template.soy.basetree"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/google/template/soy/basetree/ParentNode.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ParentNode.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.google.template.soy.basetree</FONT>
<BR>
Interface ParentNode&lt;N extends <A HREF="../../../../../com/google/template/soy/basetree/Node.html" title="interface in com.google.template.soy.basetree">Node</A>&gt;</H2>
<DL>
<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../../com/google/template/soy/basetree/Node.html" title="interface in com.google.template.soy.basetree">Node</A></DD>
</DL>
<DL>
<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../../com/google/template/soy/exprtree/ExprNode.OperatorNode.html" title="interface in com.google.template.soy.exprtree">ExprNode.OperatorNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/ExprNode.ParentExprNode.html" title="interface in com.google.template.soy.exprtree">ExprNode.ParentExprNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SoyNode.BlockCommandNode.html" title="interface in com.google.template.soy.soytree">SoyNode.BlockCommandNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SoyNode.BlockNode.html" title="interface in com.google.template.soy.soytree">SoyNode.BlockNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SoyNode.ConditionalBlockNode.html" title="interface in com.google.template.soy.soytree">SoyNode.ConditionalBlockNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SoyNode.LocalVarBlockNode.html" title="interface in com.google.template.soy.soytree">SoyNode.LocalVarBlockNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SoyNode.LoopNode.html" title="interface in com.google.template.soy.soytree">SoyNode.LoopNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SoyNode.MsgBlockNode.html" title="interface in com.google.template.soy.soytree">SoyNode.MsgBlockNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SoyNode.ParentSoyNode.html" title="interface in com.google.template.soy.soytree">SoyNode.ParentSoyNode</A>&lt;N&gt;, <A HREF="../../../../../com/google/template/soy/soytree/SoyNode.RenderUnitNode.html" title="interface in com.google.template.soy.soytree">SoyNode.RenderUnitNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SoyNode.SplitLevelTopNode.html" title="interface in com.google.template.soy.soytree">SoyNode.SplitLevelTopNode</A>&lt;N&gt;</DD>
</DL>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../com/google/template/soy/soytree/AbstractBlockCommandNode.html" title="class in com.google.template.soy.soytree">AbstractBlockCommandNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/AbstractBlockNode.html" title="class in com.google.template.soy.soytree">AbstractBlockNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/AbstractMsgNode.html" title="class in com.google.template.soy.soytree">AbstractMsgNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/AbstractOperatorNode.html" title="class in com.google.template.soy.exprtree">AbstractOperatorNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/AbstractParentCommandNode.html" title="class in com.google.template.soy.soytree">AbstractParentCommandNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/AbstractParentExprNode.html" title="class in com.google.template.soy.exprtree">AbstractParentExprNode</A>, <A HREF="../../../../../com/google/template/soy/basetree/AbstractParentNode.html" title="class in com.google.template.soy.basetree">AbstractParentNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/AbstractParentSoyNode.html" title="class in com.google.template.soy.soytree">AbstractParentSoyNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/CallBasicNode.html" title="class in com.google.template.soy.soytree">CallBasicNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/CallDelegateNode.html" title="class in com.google.template.soy.soytree">CallDelegateNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/CallNode.html" title="class in com.google.template.soy.soytree">CallNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/CallParamContentNode.html" title="class in com.google.template.soy.soytree">CallParamContentNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/CaseOrDefaultNode.html" title="class in com.google.template.soy.soytree">CaseOrDefaultNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/DataRefAccessExprNode.html" title="class in com.google.template.soy.exprtree">DataRefAccessExprNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/DataRefAccessIndexNode.html" title="class in com.google.template.soy.exprtree">DataRefAccessIndexNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/DataRefAccessKeyNode.html" title="class in com.google.template.soy.exprtree">DataRefAccessKeyNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/DataRefAccessNode.html" title="class in com.google.template.soy.exprtree">DataRefAccessNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/DataRefNode.html" title="class in com.google.template.soy.exprtree">DataRefNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/ExprRootNode.html" title="class in com.google.template.soy.exprtree">ExprRootNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/ForeachIfemptyNode.html" title="class in com.google.template.soy.soytree">ForeachIfemptyNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/ForeachNode.html" title="class in com.google.template.soy.soytree">ForeachNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/ForeachNonemptyNode.html" title="class in com.google.template.soy.soytree">ForeachNonemptyNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/ForNode.html" title="class in com.google.template.soy.soytree">ForNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/FunctionNode.html" title="class in com.google.template.soy.exprtree">FunctionNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/jssrc/GoogMsgNode.html" title="class in com.google.template.soy.soytree.jssrc">GoogMsgNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/IfCondNode.html" title="class in com.google.template.soy.soytree">IfCondNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/IfElseNode.html" title="class in com.google.template.soy.soytree">IfElseNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/IfNode.html" title="class in com.google.template.soy.soytree">IfNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/LetContentNode.html" title="class in com.google.template.soy.soytree">LetContentNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/ListLiteralNode.html" title="class in com.google.template.soy.exprtree">ListLiteralNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/LogNode.html" title="class in com.google.template.soy.soytree">LogNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/MapLiteralNode.html" title="class in com.google.template.soy.exprtree">MapLiteralNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/MsgHtmlTagNode.html" title="class in com.google.template.soy.soytree">MsgHtmlTagNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/MsgNode.html" title="class in com.google.template.soy.soytree">MsgNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/MsgPlaceholderNode.html" title="class in com.google.template.soy.soytree">MsgPlaceholderNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/MsgPluralCaseNode.html" title="class in com.google.template.soy.soytree">MsgPluralCaseNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/MsgPluralDefaultNode.html" title="class in com.google.template.soy.soytree">MsgPluralDefaultNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/MsgPluralNode.html" title="class in com.google.template.soy.soytree">MsgPluralNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/MsgSelectCaseNode.html" title="class in com.google.template.soy.soytree">MsgSelectCaseNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/MsgSelectDefaultNode.html" title="class in com.google.template.soy.soytree">MsgSelectDefaultNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/MsgSelectNode.html" title="class in com.google.template.soy.soytree">MsgSelectNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.AndOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.AndOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.ConditionalOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.ConditionalOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.DivideByOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.DivideByOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.EqualOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.EqualOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.GreaterThanOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.GreaterThanOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.GreaterThanOrEqualOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.GreaterThanOrEqualOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.LessThanOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.LessThanOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.LessThanOrEqualOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.LessThanOrEqualOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.MinusOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.MinusOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.ModOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.ModOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.NegativeOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.NegativeOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.NotEqualOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.NotEqualOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.NotOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.NotOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.NullCoalescingOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.NullCoalescingOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.OrOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.OrOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.PlusOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.PlusOpNode</A>, <A HREF="../../../../../com/google/template/soy/exprtree/OperatorNodes.TimesOpNode.html" title="class in com.google.template.soy.exprtree">OperatorNodes.TimesOpNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/PrintNode.html" title="class in com.google.template.soy.soytree">PrintNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SoyFileNode.html" title="class in com.google.template.soy.soytree">SoyFileNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SoyFileSetNode.html" title="class in com.google.template.soy.soytree">SoyFileSetNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SwitchCaseNode.html" title="class in com.google.template.soy.soytree">SwitchCaseNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SwitchDefaultNode.html" title="class in com.google.template.soy.soytree">SwitchDefaultNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/SwitchNode.html" title="class in com.google.template.soy.soytree">SwitchNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/TemplateBasicNode.html" title="class in com.google.template.soy.soytree">TemplateBasicNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/TemplateDelegateNode.html" title="class in com.google.template.soy.soytree">TemplateDelegateNode</A>, <A HREF="../../../../../com/google/template/soy/soytree/TemplateNode.html" title="class in com.google.template.soy.soytree">TemplateNode</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>ParentNode&lt;N extends <A HREF="../../../../../com/google/template/soy/basetree/Node.html" title="interface in com.google.template.soy.basetree">Node</A>&gt;</B><DT>extends <A HREF="../../../../../com/google/template/soy/basetree/Node.html" title="interface in com.google.template.soy.basetree">Node</A></DL>
</PRE>

<P>
A node that may have children in the parse tree.

 <p> Important: Do not use outside of Soy code (treat as superpackage-private).

 <p> The parameter N represents the interface or class that is the superclass of all possible
 children for this ParentNode. E.g. for a Soy parse tree node, N is usually SoyNode, but for
 SoyFileSetNode N is SoyFileNode, for SoyFileNode N is TemplateNode, etc; for a Soy expression
 parse tree, N is usually ExprNode.
<P>

<P>
<HR>

<P>

<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#addChild(int, N)">addChild</A></B>(int&nbsp;index,
         <A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;child)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the given child at the given index (shifting existing children if necessary).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#addChild(N)">addChild</A></B>(<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;child)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the given child.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#addChildren(int, java.util.List)">addChildren</A></B>(int&nbsp;index,
            <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends <A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&gt;&nbsp;children)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the given children at the given index (shifting existing children if necessary).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#addChildren(java.util.List)">addChildren</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends <A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&gt;&nbsp;children)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the given children.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#appendSourceStringForChildren(java.lang.StringBuilder)">appendSourceStringForChildren</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A>&nbsp;sb)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the source strings for all the children to the given StringBuilder.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#appendTreeStringForChildren(java.lang.StringBuilder, int)">appendTreeStringForChildren</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A>&nbsp;sb,
                            int&nbsp;indent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the tree strings for all the children to the given StringBuilder, at one further
 indentation level (3 spaces) than the given current indentation level.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#clearChildren()">clearChildren</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the list of children.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#getChild(int)">getChild</A></B>(int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the child at the given index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#getChildIndex(N)">getChildIndex</A></B>(<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;child)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Finds the index of the given child.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#getChildren()">getChildren</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the list of children.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#numChildren()">numChildren</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the number of children.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#removeChild(int)">removeChild</A></B>(int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the child at the given index.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#removeChild(N)">removeChild</A></B>(<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;child)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the given child.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#replaceChild(int, N)">replaceChild</A></B>(int&nbsp;index,
             <A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;newChild)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces the child at the given index with the given new child.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html#replaceChild(N, N)">replaceChild</A></B>(<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;currChild,
             <A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;newChild)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces the given current child with the given new child.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.google.template.soy.basetree.Node"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.google.template.soy.basetree.<A HREF="../../../../../com/google/template/soy/basetree/Node.html" title="interface in com.google.template.soy.basetree">Node</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../com/google/template/soy/basetree/Node.html#clone()">clone</A>, <A HREF="../../../../../com/google/template/soy/basetree/Node.html#getNearestAncestor(java.lang.Class)">getNearestAncestor</A>, <A HREF="../../../../../com/google/template/soy/basetree/Node.html#getParent()">getParent</A>, <A HREF="../../../../../com/google/template/soy/basetree/Node.html#hasAncestor(java.lang.Class)">hasAncestor</A>, <A HREF="../../../../../com/google/template/soy/basetree/Node.html#setParent(com.google.template.soy.basetree.ParentNode)">setParent</A>, <A HREF="../../../../../com/google/template/soy/basetree/Node.html#toSourceString()">toSourceString</A>, <A HREF="../../../../../com/google/template/soy/basetree/Node.html#toTreeString(int)">toTreeString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="numChildren()"><!-- --></A><H3>
numChildren</H3>
<PRE>
int <B>numChildren</B>()</PRE>
<DL>
<DD>Gets the number of children.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>The number of children.</DL>
</DD>
</DL>
<HR>

<A NAME="getChild(int)"><!-- --></A><H3>
getChild</H3>
<PRE>
<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A> <B>getChild</B>(int&nbsp;index)</PRE>
<DL>
<DD>Gets the child at the given index.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the child to get.
<DT><B>Returns:</B><DD>The child at the given index.</DL>
</DD>
</DL>
<HR>

<A NAME="getChildIndex(com.google.template.soy.basetree.Node)"><!-- --></A><A NAME="getChildIndex(N)"><!-- --></A><H3>
getChildIndex</H3>
<PRE>
int <B>getChildIndex</B>(<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;child)</PRE>
<DL>
<DD>Finds the index of the given child.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>child</CODE> - The child to find the index of.
<DT><B>Returns:</B><DD>The index of the given child, or -1 if the given child is not a child of this node.</DL>
</DD>
</DL>
<HR>

<A NAME="getChildren()"><!-- --></A><H3>
getChildren</H3>
<PRE>
<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&gt; <B>getChildren</B>()</PRE>
<DL>
<DD>Gets the list of children.

 Note: The returned list may not be a copy. Please do not modify the list directly. Instead, use
 the other methods in this class that are intended for modifying children. Also, if you're
 iterating over the children list as you're modifying it, then you should first make a copy of
 the children list to iterate over, in order to avoid ConcurrentModificationException.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Returns:</B><DD>The list of children.</DL>
</DD>
</DL>
<HR>

<A NAME="addChild(com.google.template.soy.basetree.Node)"><!-- --></A><A NAME="addChild(N)"><!-- --></A><H3>
addChild</H3>
<PRE>
void <B>addChild</B>(<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;child)</PRE>
<DL>
<DD>Adds the given child.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>child</CODE> - The child to add.</DL>
</DD>
</DL>
<HR>

<A NAME="addChild(int,com.google.template.soy.basetree.Node)"><!-- --></A><A NAME="addChild(int, N)"><!-- --></A><H3>
addChild</H3>
<PRE>
void <B>addChild</B>(int&nbsp;index,
              <A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;child)</PRE>
<DL>
<DD>Adds the given child at the given index (shifting existing children if necessary).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index to add the child at.<DD><CODE>child</CODE> - The child to add.</DL>
</DD>
</DL>
<HR>

<A NAME="removeChild(int)"><!-- --></A><H3>
removeChild</H3>
<PRE>
void <B>removeChild</B>(int&nbsp;index)</PRE>
<DL>
<DD>Removes the child at the given index.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the child to remove.</DL>
</DD>
</DL>
<HR>

<A NAME="removeChild(com.google.template.soy.basetree.Node)"><!-- --></A><A NAME="removeChild(N)"><!-- --></A><H3>
removeChild</H3>
<PRE>
void <B>removeChild</B>(<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;child)</PRE>
<DL>
<DD>Removes the given child.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>child</CODE> - The child to remove.</DL>
</DD>
</DL>
<HR>

<A NAME="replaceChild(int,com.google.template.soy.basetree.Node)"><!-- --></A><A NAME="replaceChild(int, N)"><!-- --></A><H3>
replaceChild</H3>
<PRE>
void <B>replaceChild</B>(int&nbsp;index,
                  <A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;newChild)</PRE>
<DL>
<DD>Replaces the child at the given index with the given new child.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index of the child to replace.<DD><CODE>newChild</CODE> - The new child.</DL>
</DD>
</DL>
<HR>

<A NAME="replaceChild(com.google.template.soy.basetree.Node,com.google.template.soy.basetree.Node)"><!-- --></A><A NAME="replaceChild(N, N)"><!-- --></A><H3>
replaceChild</H3>
<PRE>
void <B>replaceChild</B>(<A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;currChild,
                  <A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&nbsp;newChild)</PRE>
<DL>
<DD>Replaces the given current child with the given new child.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>currChild</CODE> - The current child to be replaced.<DD><CODE>newChild</CODE> - The new child.</DL>
</DD>
</DL>
<HR>

<A NAME="clearChildren()"><!-- --></A><H3>
clearChildren</H3>
<PRE>
void <B>clearChildren</B>()</PRE>
<DL>
<DD>Clears the list of children.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="addChildren(java.util.List)"><!-- --></A><H3>
addChildren</H3>
<PRE>
void <B>addChildren</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends <A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&gt;&nbsp;children)</PRE>
<DL>
<DD>Adds the given children.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>children</CODE> - The children to add.</DL>
</DD>
</DL>
<HR>

<A NAME="addChildren(int, java.util.List)"><!-- --></A><H3>
addChildren</H3>
<PRE>
void <B>addChildren</B>(int&nbsp;index,
                 <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A>&lt;? extends <A HREF="../../../../../com/google/template/soy/basetree/ParentNode.html" title="type parameter in ParentNode">N</A>&gt;&nbsp;children)</PRE>
<DL>
<DD>Adds the given children at the given index (shifting existing children if necessary).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>index</CODE> - The index to add the children at.<DD><CODE>children</CODE> - The children to add.</DL>
</DD>
</DL>
<HR>

<A NAME="appendSourceStringForChildren(java.lang.StringBuilder)"><!-- --></A><H3>
appendSourceStringForChildren</H3>
<PRE>
void <B>appendSourceStringForChildren</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A>&nbsp;sb)</PRE>
<DL>
<DD>Appends the source strings for all the children to the given StringBuilder.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sb</CODE> - The StringBuilder to which to append the children's source strings.</DL>
</DD>
</DL>
<HR>

<A NAME="appendTreeStringForChildren(java.lang.StringBuilder, int)"><!-- --></A><H3>
appendTreeStringForChildren</H3>
<PRE>
void <B>appendTreeStringForChildren</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A>&nbsp;sb,
                                 int&nbsp;indent)</PRE>
<DL>
<DD>Appends the tree strings for all the children to the given StringBuilder, at one further
 indentation level (3 spaces) than the given current indentation level.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>sb</CODE> - The StringBuilder to which to append the children's tree strings.<DD><CODE>indent</CODE> - The current indentation level of this parent node.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../com/google/template/soy/basetree/NodeVisitor.html" title="interface in com.google.template.soy.basetree"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../../index.html?com/google/template/soy/basetree/ParentNode.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="ParentNode.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

        
          <div id="footer">
            <div id="footerlogo" style="float:left">
              <img src="http://www.google.com/images/art.gif"
                   alt="Google colored balls">
            </div>
            <div id="copyright" style="float:left">
              <p>
                &copy; 2009 Google -
                <a href="http://www.google.com/privacy.html">Privacy Policy</a> -
                <a href="http://www.google.com/terms_of_service.html">Terms and Conditions</a> -
                <a href="http://www.google.com/about.html">About Google</a>
              </p>
            </div>
          </div>
        
      
</BODY>
</HTML>
